﻿namespace LogManager.Gui
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using LogManager.Gui.ViewModels;
    using LogManager.Gui.Views;

    public static class UiTestHelpers
    {
        public static TViewModel CreateFakeViewModel<TViewModel>(this IView<TViewModel> view) where TViewModel : class, IViewModel<IView<TViewModel>>
        {
            return NSubstitute.Substitute.For<TViewModel>();
        }
    }
}
